#ifndef GX_FR_PLUGIN_POINT_ENTITY_H
#define GX_FR_PLUGIN_POINT_ENTITY_H

#include "Entity.h"
#include "LibGL/GxUI.h"

namespace FinalRendering
{
	namespace Plugin
	{
		using namespace FinalRendering::Engine;

		class PointEntity : public IBspEntity
		{
		public:
			String Name;
			vec3 Position;
		public:
			virtual bool Serialize(Stream * stream);
			virtual int ProcessMessage(IEntity * sender, EntityMessage msg);
			virtual int GetPropertyCount();
			virtual PropertyDesc GetPropertyDesc(int i);
			virtual void EditorDraw(IView * view);
			virtual void SetName(const wchar_t * name);
			virtual void GetVolume(Volume * vol);
		public:
			virtual void Step(float dTime);
			virtual const wchar_t * GetName();
		public:
			PointEntity();
			PointEntity(Stream * stream);
			
		};
	}
}

#endif